﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HRM.DAL.DAO;

namespace HRM.UI.NoticeUI
{
    public partial class NoticeMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadCompanyInfo();
            }
        }

        private void LoadCompanyInfo()
        {
            Company company = new Company();
            company = company.GetCompanyInfo();
            txtCompanyName.InnerText = company.Name;
            txtAddress.InnerText = company.Address;
        }
    }
}